def fav(*fr):
    print('我喜欢的水果：')
    for i in fr:
        print(i)



fav('苹果')
fav('苹果','西瓜','香蕉')
fav('苹果', '香蕉', '橙子', )

def show (a, b, *l):
    print(a)
    print(b)
    print(l)

show(1, 2, 4, 5, 6, 7, 9, 56)


def rectangle():
    a = int (input('请输入矩形的长'))
    b = int (input(请输入矩形的宽))
    s = a*b
    c = 2*(a+b)
    print('该矩形面积：',s)
    print('该矩形周长：',c)
rectangle()


def re(a, b, c, d):
    return a+b, c*d, a-c

ss = re(1, 2, 3, 4)
print(ss)


def fu():
    a = 20
    return a

a = 1
print(a)
c = fu()
print(c)
